package com.momomian.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author momomian
 * @version 1.0
 * @date 2020/4/5
 * @description 主入口
 **/
@SpringBootApplication(scanBasePackages = {"com.momomian.admin", "com.momomian.common.config",
        "com.momomian.common.exception","com.momomian.common.helper"})
@MapperScan("com.momomian.admin.**.mapper")
@EnableScheduling
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
